package edu.neumont.csc380.prime.service;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

public interface PrimeClientServerAPI {
	@GET
	@Produces("application/json")
	public ProbablePrime getProbablePrimeJSON();
	
	@GET
	@Produces("application/xml")
	public ProbablePrime getProbablePrimeXML();
	
	@GET
	@Produces("application/json")
	@Path("{number}/{witnesses}")
	public ProbablePrime getProbablePrimeJSON(@PathParam("number") int number,
			@PathParam("witnesses") String witnesses);
	
	@GET
	@Produces("application/xml")
	@Path("{number}/{witnesses}")
	public ProbablePrime getProbablePrimeXML(@PathParam("number") int number, 
			@PathParam("witnesses") String witnesses);
}
